An Extension of Parikh's Theorem beyond Idempotence

نویسنده

  • Michael Luttenberger
چکیده

The commutative ambiguity cambG,X of a context-free grammar G with start symbol X assigns to each Parikh vector v the number of distinct leftmost derivations yielding a word with Parikh vector v. Based on the results on the generalization of Newton’s method to ω-continuous semirings [EKL07b, EKL07a, EKL10], we show how to approximate cambG,X by means of rational formal power series, and give a lower bound on the convergence speed of these approximations. From the latter result we deduce that cambG,X itself is rational modulo the generalized idempotence identity k = k + 1 (for k some positive integer), and, subsequently, that it can be represented as a weighted sum of linear sets. This extends Parikh’s well-known result that the commutative image of context-free languages is semilinear (k = 1). Based on the well-known relationship between context-free grammars and algebraic systems over semirings [CS63, SS78, BR82, Kui97, Boz99], our results extend the work by Green et al. [GKT07] on the computation of the provenance of Datalog queries over commutative ω-continuous semirings.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Fully Equational Proof of Parikh's Theorem

We show that the validity of Parikh’s theorem for context-free languages depends only on a few equational properties of least pre-fixed points. Moreover, we exhibit an infinite basis of μ-term equations of continuous commutative idempotent semirings. AMS Subject Classification (2000): 03C05, 16Y60, 68Q42, 68Q45, 68Q70.

متن کامل

Extending Parikh's Theorem to Weighted and Probabilistic Context-Free Grammars

We prove an analog of Parikh’s theorem for weighted context-free grammars over commutative, idempotent semirings, and exhibit a stochastic context-free grammar with behavior that cannot be realized by any stochastic right-linear context-free grammar. Finally, we show that every unary stochastic context-free grammar with polynomially-bounded ambiguity has an equivalent stochastic right-linear co...

متن کامل

Parikh’s Theorem for Weighted and Probabilistic Context-Free Grammars

We prove an analog of Parikh’s theorem for weighted context-free grammars over commutative, idempotent semirings, and exhibit a stochastic context-free grammar with behavior that cannot be realized by any stochastic right-linear context-free grammar. Finally, we show that every unary stochastic context-free grammar with polynomially-bounded ambiguity has an equivalent stochastic right-linear co...

متن کامل

Parikh's Theorem Does Not Hold for Multiplicities

We consider the question of whether the famous Parikh's theorem holds with multiplicities i.e., for formal power series instead of languages. We introduce two families of semilinear formal power series over a commutative product monoid. The strict hierarchy of algebraic, rational, recognizable and semi-linear formal power series is proved and in this way it is established that the Parikh's theo...

متن کامل

An extension of the Wedderburn-Artin Theorem

‎In this paper we give conditions under which a ring is isomorphic to a structural matrix ring over a division ring.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره abs/1112.2864  شماره 

صفحات  -

تاریخ انتشار 2011